export const createElement = (options) => {
  const { className, tagName, innerHTML } = options;

  const element = document.createElement(tagName);
  element.className = className;
  element.innerHTML = innerHTML;

  return element;
};

export const addToBody = (element) => {
  document.body.appendChild(element);
};
